@import "basic";
@import "common";
@import "modal";
@import "button";
@import "page-common";

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: inherit;
  color: #333;
  position: relative;
  display: block;
  margin-bottom: 20px;
  &:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.1);
  }
  & span {
    padding: 0 0.5rem 0 0;
    background-color: #fff;
    display: inline-block;
  }
}
.form-group {
  margin-bottom: 20px;
  & > label {
    display: block;
    margin-bottom: 3px;
  }
}
.form-control {
  width: 100%;
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: #fff;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  &:focus {
    border-color: #00aeff;
    box-shadow: none;
    outline: 0 none;
  }
}
select.form-control {
  cursor: pointer;
  height: 40px;
  border: 1px solid #ddd;
}
input.form-control {
  box-shadow: none;
  color: #333;
  height: 40px;
}
textarea.form-control {
  font-family: '微软雅黑 Light';
  appearance: none;
  resize: none;
}
.form-choice {
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid #ddd;
  .choice-radio {
    z-index: 1;
    margin-right: 16px;
    position: relative;
    display: inline-block;
    .radio-input {
      position: absolute;
      left: 0;
      top: 5px;
      width: 14px;
      height: 14px;
      cursor: pointer;
      &:focus {
        border: 0;
      }
    }
    label {
      position: relative;
      margin-bottom: 0;
      vertical-align: top;
      padding-left: 18px;
      cursor: pointer;
    }
  }
}